Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ZipHelper Class / CompressFiles Method / CompressFiles(MemoryFolder,ZipOutputStream,ICollection<String>) Method
m folder
The zip output stream.
The collection names of files in memory folder which should not be compressed.


In This Topic
    CompressFiles(MemoryFolder,ZipOutputStream,ICollection<String>) Method
    In This Topic
    Compresses the files.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CompressFiles( _
       ByVal mFolder As ZipHelper.MemoryFolder, _
       ByVal zipOutputStream As ICSharpCode.SharpZipLib.Zip.ZipOutputStream, _
       ByVal byPassFilenames As ICollection(Of String) _
    ) As Boolean
    'Usage
     
    
    Dim mFolder As ZipHelper.MemoryFolder
    Dim zipOutputStream As ICSharpCode.SharpZipLib.Zip.ZipOutputStream
    Dim byPassFilenames As ICollection(Of String)
    Dim value As Boolean
     
    value = ZipHelper.CompressFiles(mFolder, zipOutputStream, byPassFilenames)
    public static bool CompressFiles( 
       ZipHelper.MemoryFolder mFolder,
       ICSharpCode.SharpZipLib.Zip.ZipOutputStream zipOutputStream,
       ICollection<string> byPassFilenames
    )

    Parameters

    mFolder
    m folder
    zipOutputStream
    The zip output stream.
    byPassFilenames
    The collection names of files in memory folder which should not be compressed.

    Return Value

    successful or not
    See Also